import request from '@/util/request.js';

/**
 * @description 续租
 * @param {Object} data
 */
export function applyForFwRenewalRecordApi(data) {
	return request({
		url: '/fwRenewalRecord/applet/applyForFwRenewalRecord',
		method: 'POST',
		data
	})
}
/**
 * @description 我的续租
 * @param {Object} data
 */
export function getRecordListApi(data) {
	return request({
		url: '/fwRenewalRecord/applet/getLoginUserFwRenewalRecordList',
		method: 'GET',
		data
	})
}
/**
 * @description 我的续租记录
 * @param {Object} data
 */
export function getFwRenewalApi(data) {
	return request({
		url: '/fwRenewalRecord/applet/queryFwRenewalRecord',
		method: 'GET',
		data
	})
}
/**
 * @description 续租记录详情
 * @param {Object} data
 */
export function getRenewalRecordByIdApi(data) {
	return request({
		url: '/fwRenewalRecord/applet/getRenewalRecordById',
		method: 'GET',
		data
	})
}